home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
boot
/
SlowReset.readme
< prev
next >
Wrap
Text File
|
1995-07-02
|
4KB
|
87 lines
Short: Delays resets to finish write operations
Author: marco@cosmos-l.gun.de (Marco Krause)
Uploader: olio@informatik.uni-bremen.de (Oliver Oster)
Type: util/boot
This program is for all those, who couldn`t resist pressing the well known
three keys too early and then couldn`t find some of their partitions, because
the system was not yet ready with writing. :)
People who don`t have LED`s connected to every hd (for what reason ever), will
find some use in SlowReset. They don`t have to wait some seconds before reset
any longer, while not seeing, whether some drives are still working or not.
That`s where SlowReset starts it`s work. A Reset-Handler is installed, which
does following things in case of a reset:
1. Waiting, until the last write operation is past at least 2 seconds. This
can only be reached by patching the Write()-function. Some viruscheckers
might rumor here, so don`t worry (be happy!).
If SlowReset is being terminated and another program has patched Write(),
SlowReset can`t remove it`s patch and will tell You about it.
2. An ACTION_FLUSH and an update-command is sent to every unit.
3. When datatypes.library is installed (OS3), a soundfile can be played.
4. The screen can be faded to white...
5. ... and can be faded to black. (When both options are used, it`s kind of a
flash-effect!)
6. If a soundfile is played, wait for it to finish!
7. Telling the system that SlowReset has finished work. If there aren`t any
other Reset-Handler, the reset is being initiated.
-----------------------------------------------------------------------------
Dies Programm ist für alle, die schonmal etwas vorschnell einen Reset ausge-
führt haben, und danach evtl. ihre Partition nicht mehr wiedergefunden haben,
weil das System noch mitten beim Schreiben war. :)
Aber auch all diejenigen, die nicht für alle Laufwerke in ihrem System eine
sichtbare LED haben, werden SlowReset sicherlich nützlich finden. Zumindest
nervt es mich immer, weil ich vor einem Reset nicht sehen kann, ob noch Drives
aktiv sind.
Hier kommt nun SlowReset zum Einsatz. Es wird ein ResetHandler installiert,
der bei einem Reset folgende Operationen in angegebenen Reihenfolge
durchführt:
1. Solange warten, bis die letzte Write-Operation mindestens 2 Sekunden her
ist. Dazu muß die Write-Funktion gepatcht werden. Wer einen Viruschecker
installiert hat, dürfte hier evtl. eine Meldung bekommen.
Wird SlowReset beendet und ein anderes Programm hat inzwischen Write()
gepatcht, so wird der User mit einem Requester darauf hingewiesen. Um
SlowReset zu beenden, ist es noetig das fremde Programm zu deaktivieren.
2. Senden eines ACTION_FLUSH, sowie eines Update-Kommandos an alle Devices.
3. Falls die datatypes.library installiert ist, wird ein Soundfile im
Hintergrund abgespielt. (Optional)
4. Weißes Aufblenden des Bildschirms. (Optional)
5. Der Bildschirm fadet nach Schwarz aus. (Optional)
6. Falls ein Soundfile noch aktiv ist, auf Beendigung warten.
7. Bestätigung an das System, daß SlowReset seine Tätigkeit beendet hat, und
falls nicht noch andere ResetHandler aktiv sind, ein Reset ausgelöst
werden kann.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
628 274 56.3% 20-Jun-95 18:58:42 Slowreset.info
8268 5252 36.4% 20-Jun-95 18:42:10 +SlowReset
10622 4733 55.4% 20-Jun-95 19:25:36 +SlowReset.guide
468 223 52.3% 20-Jun-95 18:56:46 +SlowReset.guide.info
938 483 48.5% 20-Jun-95 18:59:14 +SlowReset.info
10051 4403 56.1% 20-Jun-95 19:25:52 +SlowResetE.guide
468 226 51.7% 20-Jun-95 18:56:46 +SlowResetE.guide.info
-------- ------- ----- --------- --------
31443 15594 50.4% 22-Jun-95 12:04:36 7 files